package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("app_family_prestige")
public class AppFamilyPrestige implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户id
    private Integer userid;
    //威望值
    private Integer prestigenum;
    //1收礼，2送礼，3家族签到
    private Integer type;
    //描述
    private String descmsg;
    //时间
    private Date createtime;
    //对应family表id
    private Integer fid;

    @TableField(exist = false)
    private BigDecimal dayPrestigenum;
}
